import { createRouter, createWebHashHistory } from "vue-router";
const routes = [
    {
        path: '/allpage',
        name: 'allpage',
        component: () => import('@/views/softManager/allPage.vue'),
        children: [
            { path: '/', redirect: { name: "index" }},
            { name: "screenmonitor", path: "/screenmonitor", component: () => import("../views/softManager/screenmonitor.vue") },
            { name: "firemonitor", path: "/firemonitor", component: () => import("../views/softManager/firemonitor.vue") },
            { name: "index", path: "/softmanage", component: () => import("../views/softManager/index.vue") },
        ]
    }
]
export default createRouter({
    history: createWebHashHistory(),
    routes
})